﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ChangeExpense.aspx.cs" Inherits="KPIS.GERP.GBMS.APP_UI.Form.ChangeExpense" %>

<%@ Register src="../Controls/Combo/ExpenseCombo.ascx" tagname="ExpenseCombo" tagprefix="uc1" %>

<%@ Register src="../Controls/Combo/ExpenseGroupCombo.ascx" tagname="ExpenseGroupCombo" tagprefix="uc2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <link rel="Stylesheet" href="../../Styles/StyleSheet.css" type="text/css" />
</head>
<body>
    <form id="form1" runat="server">
    
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    
    <telerik:RadAjaxLoadingPanel ID="RadAjaxLoadingPanel1" runat="server" BackgroundPosition="None"  > 
    </telerik:RadAjaxLoadingPanel>
    
    <telerik:RadFormDecorator ID="RadFormDecorator1" Runat="server" 
         />
    
    <telerik:RadAjaxManager ID="RadAjaxManager1" runat="server" OnAjaxRequest="RadAjaxManager1_AjaxRequest">
        <AjaxSettings>

        </AjaxSettings>
    </telerik:RadAjaxManager>
    
    <div class="defaultFont">
        <table>
            <tr>
                <td width="150px" valign="top">
                    งบรายจ่าย :
                </td>
                <td width="250px" valign="top">
                    <uc2:ExpenseGroupCombo ID="ExpenseGroupCombo1" runat="server" />
                </td>
                <td>
                    <fieldset id="fsSummary" style="width: 400px; text-align: left;" >
                        <legend>
                            สรุป
                        </legend>
                        <table width="400px">
                            <tr>
                                <td width="100px">
                                    วงเงินก่อนปรับ
                                </td>
                                <td align="right">
                                    <asp:Label ID="lbOldAmount" runat="server" ForeColor="Blue" />
                                </td>
                                <td width="20px">
                                    บาท
                                </td>
                            </tr>
                            <tr>
                                <td width="100px">
                                    วงเงินหลังปรับ
                                </td>
                                <td align="right">
                                    <asp:Label ID="lbNewAmount" runat="server" ForeColor="Red" />
                                </td>
                                <td width="20px">
                                    บาท
                                </td>
                            </tr>
                            <tr>
                                <td colspan="3" style="color: #FF0000">
                                    * จำนวนวงเงินก่อนปรับและหลังปรับต้องเท่ากันเสมอ
                                </td>
                            </tr>
                        </table>
                    </fieldset>
                </td>
            </tr>
        </table>
        <table>
            <tr>
                <td>
                    <uc1:ExpenseCombo ID="ExpenseCombo1" runat="server" />
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
